package com.ruoyi.docs.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 栏目信息对象 biz_article
 * 
 * @author ruoyi
 * @date 2024-05-05
 */
@Data
public class BizArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long articleId;

    /** 所属类目 */
    @Excel(name = "所属类目")
    private Long columnId;
    private String columnName;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 文件内容 */
    private String content;


    /** 文章阅读数 */
    @Excel(name = "文章阅读数")
    private Long visit;

    /** 文章分享数 */
    @Excel(name = "文章分享数")
    private Long shares;

    /** 文章有效阅读数 */
    @Excel(name = "文章有效阅读数")
    private Long times;

    /** 阅读文章获取积分数 */
    @Excel(name = "阅读文章获取积分数")
    private Long score;
    private Long communityId;
    private String communityName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime expireStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime expireEnd;
    private String imgUrl;
    /** 是否轮播 */
    private Integer isCarousel;

    private Integer type;
    private String outLink;
    /**
     * 查看权限
     */
    private Integer scope;
    private String source;
}
